Gadget

interface Gadget

Represents a RevelDigital Gadget, which is typically a self-contained HTML-based application designed to run within the RevelDigital player.

Gadgets provide a way to display dynamic content, integrate with web services, or create interactive experiences on a digital signage display. They are defined by a URL pointing to their main HTML document and can have configurable options that customize their behavior or appearance.

Instances of this interface are usually obtained when a File object with the MIME type "application/x-reveldigital-gadget" is processed, or when querying the player's current configuration or content schedule if it includes gadgets.

See also

// Ensure Option interface/class is well-documented

Functions

Link copied to clipboard
abstract fun getId(): String
Gets the unique identifier for this gadget.
Link copied to clipboard
abstract fun getName(): String
Gets the human-readable name of the gadget.
Link copied to clipboard
abstract fun getOptions(): Iterator<out Option>
Gets an iterator over the configuration options defined for this gadget instance.
Link copied to clipboard
abstract fun getUrl(): String
Gets the URL that serves as the entry point for the gadget's content.